#{extends "main.html" /}
#{set title:"TB005 TOP " + items.size() /}

<p><a class="btn btn-primary btn-success" href="@{Aircraft.edit()}" role="button">Create New Aircraft</a></p>
<div class="col-md-6">
#{form @Aircraft.index()}
<div class="form-row">
    <div class="form-group col">
        <label for="aircraft">Aircraft</label>
        <input type="text" class="form-control" id="aircraft" name="aircraft" value="${params.aircraft}"/>
    </div>
    <div class="form-group col">
        <label for="airlines">Airlines</label>
        <input type="text" class="form-control" id="airlines" name="airlines" value="${params.airlines}"/>
    </div>
    <div class="form-group col">
        <label for="actype">Aircraft Type</label>
        <input type="text" class="form-control" id="actype" name="actype" value="${params.actype}"/>
    </div>
</div>
<p>
<input type="submit" class="btn btn-primary" value="过滤" />
</p>

#{/form}


#{tb005_table items:items /}
</div>